<h2><?php echo htmlspecialchars(T('User profile'));?></h2>
<h1><?php echo '<a href="' . mczURL('index.php?/user/profile/' . $_SESSION['obj']->id) . '">' . $_SESSION['obj']->login . '</a>';?></h1>
<?php
$playlists = mcz_Playlist::findAllFromUserLogin($_SESSION['obj']->login);
if(!empty($playlists))
{
	echo('<h2>' . htmlspecialchars(T('Playlists:')) . '</h2>');
	foreach($playlists as $playlist)
	{
		echo('<li><a href="' . mczURL('playlist/show/' . $playlist->id) . '">' . htmlspecialchars($playlist->title) . '</a></li>');
	}
	echo('</ul>');
}
?>